package ro.gateway.aida.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class SystemPropertiesForm extends ActionForm {

	// --------------------------------------------------------- Instance Variables

	/** name property */
	private int defaultGroup;
	private String mailServer;
	private String replyToUser;
	private int listSize;
	private String defaultLang;
	private int sessionTimeout;
	private boolean registerAutoLogin;
	private int fundingRole;
	private int implementingRole;
	private int executingRole;

	
	// --------------------------------------------------------- Methods

	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		defaultGroup=0;
	}

	/**
	 * @return
	 */
	public int getDefaultGroup() {
		return defaultGroup;
	}

	/**
	 * @param i
	 */
	public void setDefaultGroup(int i) {
		defaultGroup = i;
	}

	/**
	 * @return
	 */
	public String getMailServer() {
		return mailServer;
	}

	/**
	 * @return
	 */
	public String getReplyToUser() {
		return replyToUser;
	}

	/**
	 * @param string
	 */
	public void setMailServer(String string) {
		mailServer = string;
	}

	/**
	 * @param string
	 */
	public void setReplyToUser(String string) {
		replyToUser = string;
	}

	/**
	 * @return
	 */
	public int getListSize() {
		return listSize;
	}

	/**
	 * @param string
	 */
	public void setListSize(int integ) {
		listSize = integ;
	}

	/**
	 * @return
	 */
	public String getDefaultLang() {
		return defaultLang;
	}

	/**
	 * @param string
	 */
	public void setDefaultLang(String string) {
		defaultLang = string;
	}

	/**
	 * @return
	 */
	public boolean isRegisterAutoLogin() {
		return registerAutoLogin;
	}

	/**
	 * @param b
	 */
	public void setRegisterAutoLogin(boolean b) {
		registerAutoLogin = b;
	}

	/**
	 * @return
	 */
	public int getSessionTimeout() {
		return sessionTimeout;
	}

	/**
	 * @param i
	 */
	public void setSessionTimeout(int i) {
		sessionTimeout = i;
	}

	/**
	 * @return Returns the executingRole.
	 */
	public int getExecutingRole() {
		return executingRole;
	}
	/**
	 * @param executingRole The executingRole to set.
	 */
	public void setExecutingRole(int executingRole) {
		this.executingRole = executingRole;
	}
	/**
	 * @return Returns the fundingRole.
	 */
	public int getFundingRole() {
		return fundingRole;
	}
	/**
	 * @param fundingRole The fundingRole to set.
	 */
	public void setFundingRole(int fundingRole) {
		this.fundingRole = fundingRole;
	}
	/**
	 * @return Returns the implementingRole.
	 */
	public int getImplementingRole() {
		return implementingRole;
	}
	/**
	 * @param implementingRole The implementingRole to set.
	 */
	public void setImplementingRole(int implementingRole) {
		this.implementingRole = implementingRole;
	}
}
